package com.fesine.ssh.dao;

import com.fesine.ssh.model.SalesOrder;
import com.fesine.ssh.util.ShopException;

/**
 * Created by Fesine on 2016/2/22.
 */
public interface SalesOrderDao extends BaseDao<SalesOrder,String> {

    SalesOrder findByOrderId(String orderId);

    void updateStatusByOrderId(String orderId,Integer status,Integer nullify) throws ShopException;
}
